TreeGrid Gantt Chart Tutorial
4. Correcting dependencies
Automatic and manual correcting of dependencies by moving related tasks
-
The correct dependencies are shown blue, the incorrect dependencies in red.
-
Attribute
GanttIncorrectDependencies
controls which dependencies will be marked as incorrect.
For 1 will be marked as incorrect only dependencies that start (+lag) before they end.
For 2 will be marked as incorrect all dependencies that don't start (+lag) and end on the same date.
For individual dependency it can be changed by float value in the dependency definition (after the !).
-
The dependencies are corrected by moving the related tasks. The tasks are never resized in this action.
The tasks are never moved to violate their constraints.
Only tasks defined in GanttObject are moved when correcting dependencies.
If there are more objects defined here, only the first object defined in the Gantt cell is moved - it is the one the dependency is attached to.
-
The dependencies can be corrected manually by clicking to the first button (Correct) on toolbar.
Or by choosing item "Correct all dependencies" or "Correct related dependencies" in the Gantt popup menu.
Or by calling the action CorrectAllDependencies or CorrectDependencies.
-
The dependencies can be corrected automatically (or by user confirmation) after any change in the chart, according to
GanttCorrectDependencies
attribute value.
The one changed tasks can be also automatically corrected or it can be fixed and all other tasks are moved to correct the dependencies, it is controlled by GanttCorrectDependenciesFixed attribute.
-
There are two methods of correcting the dependencies, chosen by
GanttStrict
attribute.
By default (for 1) are all tasks moved as close to baseline as possible.
For 0 are the tasks moved as little as possible to only correct the dependencies. They are likely moved to the right.
-
Circular dependencies
checking is controlled by GanttCheckDependencies
, it is possible to restrict, permit or ask the creating.
The tasks containing circular dependencies are usually impossible to correct.
-
By attribute
GanttFixComplete
is possible to fix all already started tasks (with Complete>0) and move only not yet started tasks (Complete=0).
In this case dependency between two already started tasks is always marked correct.